package com.gw.detail.domain.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.CommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 通用代码类型对象 t_commune
 *
 * @author wangbin
 * @date 2021-04-29
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_common_type")
public class CommonType extends CommonEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id代码
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 中文名称
     */
    @Excel(name = "中文名称")
    private String ch;

    /**
     * 英文名称
     */
    @Excel(name = "英文名称")
    private String en;
    /**
     * 简写
     */
    private String abbreviation;
}
